package com.lzk.email;

import com.lzk.basic.util.EmailUtils;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import javax.mail.MessagingException;

public class EmailDemo {
    @Autowired
    private EmailUtils emailUtils;
    @Test
    public void test() throws MessagingException {
        emailUtils.mimeEmail("563238600@qq.com","测试邮件","abc","C:\\Users\\ki\\Desktop\\aa\\1.jpg","563238600@qq.com");
    }
}
